#ifndef NETWORKHANDLER_H
#define NETWORKHANDLER_H

#include <QObject>
#include <QThread>
#include <QtNetwork>

class NetworkHandler : public QThread
{
    Q_OBJECT
public:
    NetworkHandler();
    void ConnectToServer(QString address, int port);

private:
    void run();
    QTcpSocket * tcpSocket;

};

#endif // NETWORKHANDLER_H
